package gov.ccswj.modules.apibusiness.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import gov.ccswj.modules.sys.dao.BaseDao;

/**
 */
@Mapper
public interface ForeginManagementDao extends BaseDao<Map<String, Object>> {

	List<Map<String, Object>> query(@Param("area") String area,@Param("type") Integer type,@Param("industry") Integer industry);

	List<Map<String, Object>> policy(@Param("s")Integer s,@Param("n") Integer n, @Param("policyType")String policyType);

	int count(@Param("table")String table);

	List<Map<String, Object>> inoutyear(String year);

	List<Map<String, Object>> inoutcountry(String string);

	List<Map<String, Object>> project(@Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> projectid(Integer id);

	List<Map<String, Object>> knowledgeall(@Param("searchKey")String searchKey,@Param("message") Integer message, @Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> knowledge(@Param("searchKey")String searchKey,@Param("industry") Integer industry, @Param("message") Integer message, @Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> article(@Param("text")String text,@Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> articleid(Integer id);

	List<Map<String, Object>> projectlist(@Param("text")String text,@Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> projectlistid(Integer id);

	List<Map<String, Object>> supplydemand(@Param("text")String text,@Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> supplydemandid(Integer id);

	List<Map<String, Object>> industryarticleid(Integer id);

	List<Map<String, Object>> industryarticle(@Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> traderisk(@Param("text")String text,@Param("s")Integer s,@Param("n") Integer n);

	List<Map<String, Object>> traderiskid(Integer id);

	List<Map<String, Object>> inyear(String year);

	List<Map<String, Object>> queryInandout(@Param("types") String types);
}
